package dto

type EsSearchArticleReq struct {
	Keyword     string `json:"keyword" binding:"required"`
	Limit       int    `json:"limit" binding:"required" default:"10"`
	Offset      int    `json:"offset" binding:"omitempty" default:"0"`
	UserId      int    `json:"user_id" binding:"omitempty" default:"0"`
	Order       string `json:"order" binding:"omitempty" default:"article_order"`
	OrderPrefix string `json:"order_prefix" binding:"omitempty" default:"DESC"`
}
